import { EggPlugin } from 'egg';

const plugin: EggPlugin = {
  // static: true,
  // nunjucks: {
  //   enable: true,
  //   package: 'egg-view-nunjucks',
  // },

  routerPlus: {
    enable: true,
    package: 'egg-router-plus',
  },

  m7Consul: {
    enable: true,
    package: 'egg-m7-consul',
  },

  m7Mongo: {
    enable: true,
    package: 'egg-m7-mongo',
  },

  m7Redis: {
    enable: true,
    package: 'egg-m7-redis',
  },

  m7Utils: {
    enable: true,
    package: 'egg-m7-utils',
  },

  m7Http: {
    enable: true,
    package: 'egg-m7-http',
  },

  m7Clog: {
    enable: true,
    package: 'egg-m7-clog',
  },

  opentracing: {
    enable: true,
    package: 'egg-opentracing',
  },

  validate: {
    enable: true,
    package: 'egg-validate',
  },
};

export default plugin;
